package com.rainy.generator.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuqin on 2017/12/16
 */
@Data
public class PathEntity implements Serializable{

    private Long id;

    private String db;

    private String title;

    private String basePackage;

    private String entity;

    private String dao;

    private String service;

    private String serviceImpl;

    private String controller;

    private Integer state = 0;

    private String description;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
